package org.example.ch06;

/**
 * @author yang
 * @date 2024-03-21
 */
public class TestMain {
    public static void main(String[] args) {
        MyThread mt1 = new MyThread(3000);
        MyThread mt2 = new MyThread(4000);

        mt1.setName("老公");
        mt2.setName("老婆");

        mt1.start();
        mt2.start();

    }
}
